 {% extends 'base4bs.html' %}
 {% from 'macros.html' import form_field %}
 {% block content %}
    <div class="container">
        <form method="post">
            {{ form.csrf_token }} <!-- 渲染CSRF令牌隐藏字段 -->
            {{ form_field(form.username) }}
            {{ form_field(form.password) }}
            {{ form_field(form.mark) }}
            {{ form_field(form.remember) }}
            {{ form.submit(class='btn btn-primary') }}
        </form>
    </div>
 {% endblock %}
